<?php
    $account = mysql_query("SELECT * FROM tblpharmacy WHERE tblpharmacy.`user_id`='".$_SESSION['acc_id']."'");
    $account_t = mysql_fetch_array($account);    
    $url = $account_t['shorturl'];
?>
<div class="box">
<div class="title">
<!--Your Account--><?php
print_r($_SESSION['acc_id']);
 echo $lang['UR_ACCOUNT'];?>
</div>
<ul class="sidemenu">
    <li><a href="<?php echo W_ROOT;?>/company/dashboard/"><!--Dashboard--><?php echo $lang['SELL_DASH'];?></a></li>
    <li><a href="<?php echo W_ROOT;?>/company/action/?p=seller/edit_seller"><!--My Profile--><?php echo $lang['UR_PROFILE'];?></a></li>
    <li><a href="<?php echo W_ROOT;?>/company/dashboard/?p=theme/index"><!--Edit Your Tempate--><?php echo $lang['UR_EDIT_TEM'] ;?></a></li>
    <li><a href="<?php echo W_ROOT;?>/<?php echo $url;?>" target="_blank"><!--View Your Page--><?php echo $lang['UR_VIEW_PAGE'];?></a></li>
    <li><a href="<?php echo W_ROOT;?>/company/action/?p=edit_category"><!--Change Category--><?php echo $lang['UR_CHANG_CAT'];?></a></li>
    <li><a href="<?php echo W_ROOT;?>/company/product/"><!--Product List--><?php echo $lang['UR_PRO_LIST'] ;?></a></li>
    <li><a href="<?php echo W_ROOT;?>/company/product/?view=add"><!--Add New Product--><?php echo $lang['UR_NEW_PRO'] ;?></a></li>
    <li><a href="<?php echo W_ROOT;?>/seller/editProductPrice.php"><!--Edit Price--><?php echo $lang['UR_EDIT_PRICE'];?></a></li>
    <li><a href="<?php echo W_ROOT;?>/seller/viewprescription.php"><!--View Prescription--><?php echo $lang['UR_VIEW_PRESCRIP'];?></a></li> 
    <li><a href="<?php echo W_ROOT;?>/seller/selectAccountType.php"><!--Update Your Account--><?php echo $lang['UR_UP_ACCOUNT'];?></a></li>
</ul>
</div>